/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.entity.yth.realproperty;

import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 不动产-土地房产注销记录表实体类
 *
 * @author BladeX
 * @since 2023-01-10
 */
@Data
@TableName("real_estate_cancel_record")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "CancelRecord对象", description = "不动产-土地房产注销记录表")
public class CancelRecord extends YthBaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 注销时间
	 */
	@ApiModelProperty(value = "注销时间")
	private LocalDate cancelTime;
	/**
	 * 注销方式(1：捐赠2：划拨3：公开转让4：协议转让5：出售6：非转经7：其他)
	 */
	@ApiModelProperty(value = "注销方式(1：捐赠2：划拨3：公开转让4：协议转让5：出售6：非转经7：其他)")
	private Integer cancelType;
	/**
	 * 注销金额
	 */
	@ApiModelProperty(value = "注销金额")
	private BigDecimal cancelMoney;
	/**
	 * 注销原因
	 */
	@ApiModelProperty(value = "注销原因")
	private String reason;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 不动产类型（1：土地2：房产3：出租单元4：承租户）
	 */
	@ApiModelProperty(value = "不动产类型（1：土地2：房产3：出租单元4：承租户）")
	private Integer realEstateType;
	/**
	 * 不动产业务主键id
	 */
	@ApiModelProperty(value = "不动产业务主键id")
	private Long bizId;
	/**
	 * 填报用户id
	 */
	@ApiModelProperty(value = "填报用户id")
	private Long reportUserId;
	/**
	 * 填报用户
	 */
	@ApiModelProperty(value = "填报用户")
	private String reportUserName;
	/**
	 * 填报单位id
	 */
	@ApiModelProperty(value = "填报单位id")
	private Long reportOrgId;
	/**
	 * 填报单位
	 */
	@ApiModelProperty(value = "填报单位")
	private String reportOrgName;
	/**
	 * 填报时间
	 */
	@ApiModelProperty(value = "填报时间")
	private LocalDate reportTime;


}
